/** 
 * api接口统一管理
 */
import Vue from 'vue'
import http from './index.js'; 
const api = {
	list : params =>http.get('/coupon/findAll',params),//优惠券列表
	info : params =>http.get('/coupon/findCouponInfo',params),//查看优惠券详情
	share : params =>http.get('/coupon/couponsShare',params),//优惠券分享
	getCode:params => http.get('/coupon/getCode',params),//获取二维码
	merchant:params=>http.get('/storeCommonUse/getStoreMerchant',params),//获取门店信息
	waterList : params =>http.get('/operationFlow/appletOperationFlow',params),//营业流水列表
	sendCode : params=> http.get('/smsController/getVerificationCode',params),//获取验证码
	bindPhone : params => http.get('/smsController/smsCouponValidate',params),//绑定手机号
	getAward : params =>http.get('/lotteryDraw/init',params),//一体机抽奖活动页面初始化
	start : params => http.get('/lotteryDraw/start',params),//一体机开始抽奖
	detail : params => http.get('/operationFlow/getOrder',params),//详情
}
export default api